package com.example.sandbox.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("商户请求实体")
public class Account58QueryRequest {

    @ApiModelProperty(value = "商户号", required = true)
    @NotEmpty(message = "Merchant number cannot be empty")
    private String merchantNo; // 商户号

    @ApiModelProperty(value = "货币类型\t", required = true)
    @NotEmpty(message = "Currency type cannot be empty")
    private String currency;

    @ApiModelProperty(value = "请求时间", required = true)
    private long reqTime; //

    @ApiModelProperty(value = "签名", required = true)
    private String sign; // 签名值，详见签名算法

}